package v2.parser

/**
 * @author bweber
 * @version $Rev$, $Date$
 */

class Attr private (val name:String,val typeref:TypeRef) extends Value {
  override def toString() = {
    "attr " + name + " of type " + typeref
  }
  
  def getType() = {
    Type(typeref)
  }
}

object Attr {
  def apply(name:String,typeref:TypeRef) = {
    new Attr(name,typeref)
  }
}